package com.thjk.bdf.preloan.web.util;


import com.thjk.bdf.preloan.web.request.CustInfo;

public class SeesionUtils {
	
	private static final ThreadLocal<CustInfo> CONTEXT = new ThreadLocal<>();
	
	public static void setData(CustInfo info){
		CONTEXT.set(info);
	}
	
	public static CustInfo getData(){
		return CONTEXT.get();
	}
	
	public static void clearData(){
		CONTEXT.remove();
	}
}
